<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改付款申请单')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-payment-edit" th:object="${proApplicationPayment}">
        <input name="aId" th:field="*{aId}" type="hidden">
<!--        <div class="form-group">-->
<!--            <label class="col-sm-3 control-label is-required">劳务合同：</label>-->
<!--            <div class="col-sm-8">-->
<!--                <input name="aTheLabor" th:field="*{aTheLabor}" class="form-control" type="text" required>-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="form-group">-->
<!--            <label class="col-sm-3 control-label is-required">劳务金额：</label>-->
<!--            <div class="col-sm-8">-->
<!--                <input name="aLaborCost" th:field="*{aLaborCost}" class="form-control" type="text" required>-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="form-group">-->
<!--            <label class="col-sm-3 control-label is-required">供应商名称/应付单位名称：</label>-->
<!--            <div class="col-sm-8">-->
<!--                <input name="aSupplierName" th:field="*{aSupplierName}" class="form-control" type="text" required>-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="form-group">-->
<!--            <label class="col-sm-3 control-label is-required">申请人：</label>-->
<!--            <div class="col-sm-8">-->
<!--                <input name="aProposer" th:field="*{aProposer}" class="form-control" type="text" required>-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="form-group">-->
<!--            <label class="col-sm-3 control-label is-required">申请内容：</label>-->
<!--            <div class="col-sm-8">-->
<!--                <input name="aApplicationContent" th:field="*{aApplicationContent}" class="form-control" type="text" required>-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="form-group">-->
<!--            <label class="col-sm-3 control-label">申请时间：</label>-->
<!--            <div class="col-sm-8">-->
<!--                <div class="input-group date">-->
<!--                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>-->
<!--                    <input name="aCreateTime" th:value="${#dates.format(proApplicationPayment.aCreateTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--        </div>-->
        <div class="form-group">
            <label class="col-sm-3 control-label is-required" for="pPaid">已付金额：</label>
            <div class="col-sm-8">
                <input id="pPaid" name="pPaid"  class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group" hidden>
            <label class="col-sm-3 control-label is-required" for="pPaid" >审批状态：</label>
            <div class="col-sm-8">
                <input id="aStatus" name="aStatus" th:field="*{aStatus}"  class="form-control" type="text" required>
            </div>
        </div>
<!--        <div class="form-group">-->
<!--            <label class="col-sm-3 control-label is-required">父建项目总表id：</label>-->
<!--            <div class="col-sm-8">-->
<!--                <input name="pId" th:field="*{pId}" class="form-control" type="text" required>-->
<!--            </div>-->
<!--        </div>-->
    </form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script type="text/javascript">
    var prefix = ctx + "ruoyi/paymentcontractcost";
    $("#form-payment-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-payment-edit').serialize());
        }
    }

    $("input[name='aCreateTime']").datetimepicker({
        format: "yyyy-mm-dd",
        minView: "month",
        autoclose: true
    });
</script>
</body>
</html>